#include "gwbase/base/pidfile.h"

namespace dicom {

Status CreatePidFile(const std::string& path) {
  std::string pid = StringPrintf("%d", ::getpid());
  return dicom::WriteStringToFile(path, pid);
}
}
